package com.onlineexam.util;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JsonResult<T> {
    private boolean success;
    private int code;//状态码
    private T data;//成功返回的数据
    private String error;//错误的信息
}
